package com.video.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
/**
 * (LikedVlog)表实体类
 *
 * @author baoshuai
 * @since 2022-12-14 21:02:16
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("liked_vlog")
public class LikedVlog  {
    //序号
    @TableId(type = IdType.AUTO)
    private Long id;

    //用户序号
    private Long userId;
    //视频序号
    private Long vlogId;
    //点赞状态：0-取消 1-点赞
    private Integer status;
    //点赞时间
    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;



}

